.class public Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;
.super Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field public t:Landroid/os/Handler;

.field private u:Lcom/waiqin365/lightapp/chexiao/b/a/bh;

.field private v:Ljava/util/List;

.field private w:Ljava/lang/String;

.field private x:Z

.field private y:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->v:Ljava/util/List;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->w:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->y:Z

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/dg;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/chexiao/dg;-><init>(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->t:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;Lcom/waiqin365/lightapp/chexiao/b/a/bh;)Lcom/waiqin365/lightapp/chexiao/b/a/bh;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->u:Lcom/waiqin365/lightapp/chexiao/b/a/bh;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bh;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->u:Lcom/waiqin365/lightapp/chexiao/b/a/bh;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->v:Ljava/util/List;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public a(Z)V
    .locals 4

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "conditions.curPage"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->c:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "conditions.submitId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "conditions.cmId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    const-string/jumbo v1, "conditions.carNo"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_3

    const-string/jumbo v1, "conditions.saleNo"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->s:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    const-string/jumbo v1, "conditions.remark"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->s:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v1

    if-eqz v1, :cond_5

    const-string/jumbo v1, "conditions.startDate"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->n:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v1

    if-eqz v1, :cond_6

    const-string/jumbo v1, "conditions.endDate"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->n:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_6
    iget-boolean v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->x:Z

    if-eqz v1, :cond_7

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->w:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_7

    const-string/jumbo v1, "conditions.visit_implement_id"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->w:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_7
    iget-boolean v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->y:Z

    if-eqz v1, :cond_9

    const-string/jumbo v1, "conditions.isQueryMyAndSubData"

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_0
    if-eqz p1, :cond_8

    const-string/jumbo v1, ""

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->showProgressDialog(Ljava/lang/String;)V

    :cond_8
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/lightapp/chexiao/b/a/v;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/lightapp/chexiao/b/a/v;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->t:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/chexiao/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/b;->start()V

    return-void

    :cond_9
    const-string/jumbo v1, "conditions.isQueryMyAndSubData"

    const-string/jumbo v2, "0"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0
.end method

.method public b()V
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;->b()V

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->c:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->d()V

    return-void
.end method

.method public d()V
    .locals 1

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->a(Z)V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 0

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;->onActivityResult(IILandroid/content/Intent;)V

    packed-switch p1, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->b()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x789
        :pswitch_0
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;->onCreate(Landroid/os/Bundle;)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isFromMenu"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->y:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSeniorVisit"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->x:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->x:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->w:Ljava/lang/String;

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v1, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    const v0, 0x7f08070a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isShowAdd"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->j:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->c:Landroid/widget/ImageButton;

    const v1, 0x7f020253

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->c:Landroid/widget/ImageButton;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/dd;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/dd;-><init>(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_1
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/a/m;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/m;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->g:Lcom/waiqin365/lightapp/chexiao/a/m;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->g:Lcom/waiqin365/lightapp/chexiao/a/m;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->o:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setVisibility(I)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->y:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setVisibility(I)V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/de;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/de;-><init>(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/df;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/df;-><init>(Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    return-void

    :cond_2
    const v0, 0x7f0806ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->showToast(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_3
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setVisibility(I)V

    goto :goto_2
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 5

    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailXSActy;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "id"

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->v:Ljava/util/List;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v3

    sub-int v3, p3, v3

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/n;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/n;->o:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "isShowCopy"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "isShowCopy"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/16 v0, 0x789

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method

.method public refreshActivity(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 1

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->c:I

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListXSActy;->a(Z)V

    return-void
.end method
